package com.bot.nft.module.dc.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bot.common.mybatis.core.BaseMapperPlus;
import com.bot.nft.module.dc.domain.DcSellOrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bot.nft.module.dc.domain.vo.DcOrderInfoVo;
import com.bot.nft.module.dc.domain.vo.DcSellOrderInfoVo;
import com.bot.nft.module.dc.domain.vo.SellGetInfoVo;
import com.bot.nft.module.dc.domain.vo.SellPoInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author RenXiaoZheng
 * @since 2024-01-24
 */
public interface DcSellOrderInfoMapper extends BaseMapperPlus<DcSellOrderInfoMapper, DcSellOrderInfo,
        DcSellOrderInfoVo> {

    //分页查询寄售订单
    List<SellPoInfoVo> selectSellOrder(IPage<SellPoInfoVo> page,
                                       @Param("status") Integer status,
                                       @Param("phone") String phone);

    //查看寄售订单详情
    SellGetInfoVo lookSellOrder(String id);

    //查看订单详情【app端】
    DcSellOrderInfoVo getOrderInfo(String orderId);
}
